@import "src/common/styles/base";

.order-list-page {
  padding-bottom: env(safe-area-inset-bottom);

  .tabs {
    position: sticky;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding-top: 24px;
    margin-bottom: 2px;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0px 7px 64px 0px rgba(0, 0, 0, 0.07);

    .tab {
      font-size: 32px;
      font-weight: 600;
      color: rgba(51, 51, 51, 1);
      line-height: 45px;
      transition: all 0.3s ease-in-out;

      &__active {
        color: #45c68b;

        .line {
          height: 4px;
          margin-top: 20px;
          background: linear-gradient(90deg,
              rgba(76, 202, 121, 1) 0%,
              rgba(67, 197, 144, 1) 100%);
          border-radius: 2px;
        }
      }
    }
  }

  .show-tabcon {
    display: block;
  }

  .hide-tabcon {
    display: none;
  }

  .order-item-card {
    width: 690px;
    height: auto;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0px 7px 64px 0px rgba(0, 0, 0, 0.07);
    border-radius: 10px;
    margin: 20px auto 0 auto;
    box-sizing: border-box;
    padding-bottom: 30px;
    padding-right: 30px;

    .goods-wrapper {
      box-shadow: none;
      margin-bottom: 0;
    }

    .footer-info {
      display: flex;
      justify-content: flex-end;

      .count {
        font-size: 24px;
        font-weight: 400;
        color: rgba(153, 153, 153, 1);
        line-height: 33px;
        margin-right: 16px;
      }

      .money {
        font-size: 24px;
        color: #666;

        text {
          &:last-child {
            color: #333333;
            font-size: 28px;
          }
        }
      }
    }

    .btn-con {
      display: flex;
      margin-top: 20px;
      justify-content: flex-end;

      .btn {
        padding: 0 40px;
        height: 55px;
        margin-left: 20px;
        background: rgba(255, 255, 255, 1);
        border-radius: 28px;
        border: 1px solid rgba(76, 202, 121, 1);
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 24px;
        font-weight: 600;
        color: rgba(84, 210, 165, 1);

        &__gray {
          border-color: #cccccc;
          color: #cccccc;
        }
      }
    }
  }
}
